package org.jeecg.modules.iot.service;



import org.jeecg.modules.iot.model.power.TaiPower;

import java.sql.Timestamp;
import java.util.List;


public interface IPowerService {
    int add(TaiPower taiPower);

    TaiPower queryLastByDeviceId(String deviceId);

    TaiPower queryNearestAfterTime(String deviceId, Timestamp timestamp);

    List<TaiPower> queryByDeviceId(String deviceId);
}
